package com.xthh._struct;


import android.graphics.PointF;
import android.graphics.RectF;

public class HH_T_MatrixNewRect {

    // 转换后的原来的四个点的新位置
    HH_T_MR leftup = new HH_T_MR();
    HH_T_MR leftdown = new HH_T_MR();
    HH_T_MR rightup = new HH_T_MR();
    HH_T_MR rightdown = new HH_T_MR();

    // 自定义矩形的四个点 必须是按顺序的
    PointF[]pointCustomRects = new PointF[4];

    public PointF[] getPointCustomRects() {
        return pointCustomRects;
    }

    public void setPointCustomRects(PointF p1, PointF p2, PointF p3,PointF p4) {
        this.pointCustomRects[0] = p1;
        this.pointCustomRects[1] = p2;
        this.pointCustomRects[2] = p3;
        this.pointCustomRects[3] = p4;
    }


    // 旋转过后的外矩形
    // 不用这个了，斜矩形不准
    RectF mapRect = new RectF();

    public RectF getMapRectFail() {
        return mapRect;
    }

    public void setMapRectFail(RectF mapRect) {
        this.mapRect = mapRect;
    }

    public HH_T_MR getLeftup() {
        return leftup;
    }

    public void setLeftup(HH_T_MR leftup) {
        this.leftup = leftup;
    }

    public HH_T_MR getLeftdown() {
        return leftdown;
    }

    public void setLeftdown(HH_T_MR leftdown) {
        this.leftdown = leftdown;
    }

    public HH_T_MR getRightup() {
        return rightup;
    }

    public void setRightup(HH_T_MR rightup) {
        this.rightup = rightup;
    }

    public HH_T_MR getRightdown() {
        return rightdown;
    }

    public void setRightdown(HH_T_MR rightdown) {
        this.rightdown = rightdown;
    }
}
